package com.kkb.base.mapper;

import com.kkb.base.pojo.MyProducts;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ProductsMapper extends Mapper<MyProducts> {
    @Select("SELECT sum(price) from products")
    public int getSumPrice();
    public List<MyProducts> getListByCid(String cid);
}
